Skip to content

Viscous dissipation and derivatives#61

Merged
jmartfrut merged 2 commits into
mainfrom
dissipation
Nov 11, 2025
Merged

Viscous dissipation and derivatives#61
jmartfrut merged 2 commits into
mainfrom
dissipation

Conversation

@miguelmaso
Copy link
Copy Markdown
Collaborator

Added extra terms needed for the energy conservation equation and its jacobian.

Still, we need to discuss about the iterface of the functions...

@miguelmaso miguelmaso requested a review from jmartfrut November 11, 2025 12:11
@github-actions
Copy link
Copy Markdown

Benchmark Results (Julia v1)

Time benchmarks
main 968994c... main / 968994c...
Constitutive models/Visco-elastic Ψ 0.0507 ± 0.021 ms 0.0512 ± 0.021 ms 0.991 ± 0.58
Constitutive models/Visco-elastic ∂Ψu 0.0635 ± 0.012 ms 0.0636 ± 0.019 ms 0.999 ± 0.35
Constitutive models/Visco-elastic ∂Ψuu 0.112 ± 0.037 ms 0.113 ± 0.017 ms 0.997 ± 0.37
Simulations/StaticMechanicalDirichlet 0.239 ± 0.017 s 0.244 ± 0.013 s 0.979 ± 0.087
Simulations/StaticMechanicalNeumann 0.168 ± 0.018 s 0.168 ± 0.016 s 1.01 ± 0.14
Simulations/ViscoElastic 8.47 s 8.53 s 0.993
Tensor algebra/δδ_λ_2d 18 ± 1 ns 18 ± 1 ns 1 ± 0.079
Tensor algebra/δδ_μ_2d 18 ± 1 ns 18 ± 1 ns 1 ± 0.079
time_to_load 2.35 ± 0.0094 s 2.35 ± 0.0099 s 0.997 ± 0.0058
Memory benchmarks
main 968994c... main / 968994c...
Constitutive models/Visco-elastic Ψ 1.25 k allocs: 0.0794 MB 1.25 k allocs: 0.0794 MB 1
Constitutive models/Visco-elastic ∂Ψu 1.37 k allocs: 0.0917 MB 1.37 k allocs: 0.0917 MB 1
Constitutive models/Visco-elastic ∂Ψuu 2.31 k allocs: 0.158 MB 2.31 k allocs: 0.158 MB 1
Simulations/StaticMechanicalDirichlet 1.7 M allocs: 0.118 GB 1.7 M allocs: 0.118 GB 1
Simulations/StaticMechanicalNeumann 1.43 M allocs: 0.0908 GB 1.43 M allocs: 0.0908 GB 1
Simulations/ViscoElastic 0.128 G allocs: 8.3 GB 0.128 G allocs: 8.3 GB 1
Tensor algebra/δδ_λ_2d 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/δδ_μ_2d 0 allocs: 0 B 0 allocs: 0 B
time_to_load 0.149 k allocs: 11.1 kB 0.149 k allocs: 11.1 kB 1

@jmartfrut jmartfrut merged commit d45fc0f into main Nov 11, 2025
4 checks passed
@miguelmaso miguelmaso deleted the dissipation branch November 12, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants